Availability | 3.0 |
Description | If the selection or insertion point is inside an editable region, gets the position of the editable region among all others in the body of the document. |
Arguments | None. |
Returns | An index into the array returned by dom.getEditableRegionList() . |
Enabler | None. |
Example | The following code shows a dialog box containing the contents of the selected editable region: |
![]() |
var theDOM = dw.getDocumentDOM(); var edRegs = theDOM.getEditableRegionList(); var selReg = theDOM.getSelectedEditableRegion(); alert(edRegs[selReg].innerHTML); |
|
![]() |